package com.example.everying.mapper.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.everying.model.entity.user.ActivityPointsConfig;
import com.example.everying.model.vo.points.ActivityPointsConfigListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 活动积分配置Mapper接口
 */
@Mapper
public interface ActivityPointsConfigMapper extends BaseMapper<ActivityPointsConfig> {
    ActivityPointsConfig selectByType(String everydayUserPublishPoints);
    List<ActivityPointsConfigListVo> selectActivityListByUid(@Param("uid") String uid);

    List<ActivityPointsConfig> selectEnabledSignConfigs();
}